home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7642 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  35 lines

  1. Path: reg.triumf.ca!bennett
  2. From: bennett@reg.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: #include --> Question
  5. Date: 27 Feb 1996 15:10 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <27FEB199615100860@reg.triumf.ca>
  9. References: <4gvp2c$sdr$1@mhafc.production.compuserve.com>
  10. NNTP-Posting-Host: reg.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <4gvp2c$sdr$1@mhafc.production.compuserve.com>, <Matt> mmartone@mysite.com <76002.702@CompuServe.COM> writes...
  14. >    How do i include a file with the #include statement?  the 
  15. >file is "c:\snappy\1.gif".
  16.  
  17.  
  18. #include is used to include text files, such as stdio.h, stdlib.h, etc.  in 
  19. your source code.  It cannot be used to include a binary file such as a .gif.
  20.  
  21. You should probably ask this question in a newsgroup more directly dedicated to
  22. your particular computer/operating system, and state what exactly you want to
  23. do with this included file.
  24.  
  25. If you are using MS-DOS, comp.os.msdos.programmer might be appropriate.
  26.  
  27.  
  28. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  29. Internet: bennett@triumf.ca         | of one another only when one can be
  30. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  31. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  32. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  33.  
  34.